<script>
 $(document).ready(function ()
    {
        $('#data').dataTable( {
            "sPaginationType": "full_numbers",
            "bProcessing": true
        });
    });
</script>
<fieldset>
<div class="productsrangess index">
	<h2><?php echo __('Ranges'); ?></h2>
        <br>
        <div class="newbutton">
        	<ul><li><?php echo $this->Html->link(__('Add New Range'), array('action' => 'add')); ?></li></ul>
        </div>
        <br><br>
    <table id="data" class="table" cellpadding="0" cellspacing="0"  border="0">
    <thead>
	<tr>
			<th>Range Name</th>
			<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	</thead>
	<tbody>
	<?php foreach ($productsranges as $productsrange): ?>
	<tr>
		<td><?php echo h($productsrange['Productsrange']['name']); ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $productsrange['Productsrange']['id'])); ?>
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $productsrange['Productsrange']['id'])); ?>
			<?php echo $this->Form->postLink(__('Archive'), array('action' => 'delete', $productsrange['Productsrange']['id']), null, __('Are you sure you want to archive %s?', $productsrange['Productsrange']['name'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</tbody>
	</table>
	<p>
</div>	
</fieldset>